make xendomains service save/migrate vms under /etc/xen/auto only
authorZhigang Wang <zhigang.x.wang@oracle.com>
Tue, 21 Jun 2011 16:48:00 +0000 (17:48 +0100)
committerZhigang Wang <zhigang.x.wang@oracle.com>
Tue, 21 Jun 2011 16:48:00 +0000 (17:48 +0100)
commit1f2591ba3532ccc1118bf93e59fd64541c6897c3
tree879ae35ac2871f5c853fc8b33fb6407093cbdc73
parentef75d430425944107b943ef2394311974b336df2
make xendomains service save/migrate vms under /etc/xen/auto only

Currently, xendomains service will save or migrate all the running domains in
the host on stop.

Change XENDOMAINS_AUTO_ONLY=true. Then on service stop, it will only
save or migrate all VMs under XENDOMAINS_AUTO (/etc/xen/auto), but always
shutdown all the running VMs.

It's a way to cleanly shutdown all the running VMs on system reboot. If you
want to save/migrate a VM, create a link to /etc/xen/auto.

Signed-off-by: Zhigang Wang <zhigang.x.wang@oracle.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/hotplug/Linux/init.d/sysconfig.xendomains